﻿using System.Collections.Generic;
using System.Threading.Tasks;
using Jinjia.Approve.Entity.Entity;

namespace Jinjia.Approve.IRepository
{
    public interface IErpaBaseRepository
    {
        Task<string> GetValueByCodeType(string code_type);

        Task<List<string>> GetValuesByCodeType(string code_type);
        
        Task<erpa_base_tbl> GetModelByCodeType(string code_type);
        
        Task<erpa_base_tbl> GetModelByCodeType(string code_type, string action_flag);

        Task<List<erpa_base_tbl>> GetModelsByCodeType(string code_type);
    }
}